package com.example.easyexcel.service.impl;

import com.alibaba.fastjson.JSON;
import com.example.easyexcel.mapper.ExcelDynamicDropdownDataMapper2;
import com.example.easyexcel.service.ExcelDynamicDropdownDataService;
import com.example.easyexcel.util.SpringBeanFactory;

/**
 * @author dangwen1
 * @date 2021年12月03日 18:35
 * @description
 */
public class ExcelDynamicDropdownDataServiceImpl2 implements ExcelDynamicDropdownDataService {

    @Override
    public String[] getSource() {
        ExcelDynamicDropdownDataMapper2 bean = SpringBeanFactory.getBean(ExcelDynamicDropdownDataMapper2.class);
        System.out.println("mapper2-------------------"+JSON.toJSONString(bean.getSource()));
        return bean.getSource();
    }
}
